<!-- content -->
<div class="span9" style="background-color:#F7F7F9; padding-left: 2em; padding-right: 2em; border-radius:6px;">
    <section id="home">
        <div class="page-header">
            <h3>Pengajuan Judul tesis</h3>
        </div>
        <?php echo form_open('mahasiswa/judul', 'class="bs-docs-example form-horizontal"') ?>
        <div class="control-group">
            <label class="control-label">Judul tesis 1</label>
            <div class="controls">
                <input type="text" name="judul1" placeholder="Judul 1" required>
            </div>
        </div>
        <div class="control-group">
            <label class="control-label">Judul tesis 2</label>
            <div class="controls">
                <input type="text" name="judul2" placeholder="Judul 2" required>
            </div>
        </div>
        <div class="control-group">
            <label class="control-label">Subjek</label>
            <div class="controls">
                <input type="text" name="subyek" placeholder="Subjek yang di ambil" required>
            </div>
        </div>
        <div class="control-group">
            <label class="control-label">Lokasi Penelitian</label>
            <div class="controls">
                <input type="text" name="lokasi" placeholder="Lokasi peneletian" required>
            </div>
        </div>
        <div class="control-group">
            <label class="control-label">Keyword</label>
            <div class="controls">
                <textarea rows="6" name="keyword" placeholder="Tuliskan keyword untuk tesis anda" required></textarea>
            </div>
        </div>
        <div class="control-group">
            <div class="controls">
                <label class="checkbox">
                    <input type="checkbox" name="aggre" value="Y" required> Saya setuju untuk mengajukan judul tersebut di atas
                </label>
                <button type="submit" class="btn">Daftar</button>
            </div>
        </div>
        <?php echo form_close() ?>
    </section>
    <table class="table table-bordered table-striped">
        <thead align="center">
            <tr>
                <th colspan="6" style="text-align: center; background-color:#610E54; color:white;">INFORMASI tesis MAHASISWA</th>
            </tr>
            <tr>
                <th>NO</th>
                <th>TANGGAL</th>
                <th>JUDUL 1</th>
                <th>JUDUL 2</th>
                <th>STATUS</th>
                <th>SARAN</th>
            </tr>
        </thead>
        <tbody>
            <?php foreach ($log_judul as $judul): ?>
                <tr>
                    <td>1</td>
                    <td><?php echo $judul->date ?></td>
                    <td><?php echo $judul->judul_1 ?></td>
                    <td><?php echo $judul->judul_2 ?></td>
                    <td><span class="label label-warning"><?php echo $judul->status ?></span></td>
                    <td> <a href="pesan.html"><button class="btn btn-mini" type="button">Lihat Saran</button></a></td>
                </tr>
            <?php endforeach; ?>
        </tbody>
    </table>
</div>
</div>